package test3;

public class phone15 extends phone{
    String address;
    String name;

    public phone15(String num, String address, String name) {
        super(num);
        this.address = address;
        this.name = name;
    }

    @Override
    public void phoneCall() {
        System.out.println("电话号码：" + super.num);
        System.out.println("通话地址：" + this.address);
        System.out.println("来电人姓名：" + this.name);
    }
}
